visionOS apps can obtain geolocation data from CoreLocation.
The document of CoreLocation has the answer: https://developer.apple.com/documentation/corelocation
visionOS 1.0+ Beta is shown in the supported OS
Topic:
App & System Services
SubTopic:
Core OS
Tags: